package com.hk.service.impl.kyc;

import org.springframework.stereotype.Service;

import com.hk.commons.entity.LogUtil;
import com.hk.dao.base.impl.BaseServiceImpl;
import com.hk.service.kyc.ILogUtil;


@Service
public class LogImpl extends BaseServiceImpl<LogUtil> implements ILogUtil {

	@Override
	public LogUtil findById(Integer id) {
		LogUtil result = null;
		if (id != null){
			result = getById(id);
		}
		return result;
	}

	@Override
	public Boolean add(LogUtil model) {
		 
		model.setcts(System.currentTimeMillis());
		super.save(model);
		return true;
	}
	
	 
}
